package com.itheima.String;

public class String1 {
    public static void main(String[] args) {
        //public String():创建一个空白字符串对象,不含有任何内容
        String s1 = new String();
        System.out.println(s1);
        // public String(char[] chs):根据字符组的内容,来创建字符串对象
        char[] chs = {'a','b','c'};
        String s2 = new String(chs);
        System.out.println(s2);
        //public String original:
        String s3 = new String("123");
    }
}
